import VueRouter from 'vue-router'
import home from './components/Home.vue'
import members from './components/Members.vue'
import search from './components/Search.vue'
import shopCar from './components/ShopCar.vue'

let routerobj = new VueRouter({
    routes: [
        {
            path: "/",
            redirect:"/home"
        },
        {
            path: "/home",
            component:home
        },
        {
            path: "/members",
            component:members
        },
        {
            path: "/shopCar",
            component:search
        },
        {
            path: "/search",
            component:shopCar
        },
    ],
    linkActiveClass:"mui-active"
})

export default routerobj